package icu.qx.qc.feign;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "yyj-mes-pro", contextId = "proWorkTaskService1")
public interface ProWorkTaskService {
    /**
     * 获取工单任务详细信息
     */
    @GetMapping(value = "/pro/workTask/{wtaskCode}")
    public AjaxResult getInfo(@PathVariable("wtaskCode") String wtaskCode);
}
